package myschool;

public class Main {
    public static void main(String[] args) {
        Printer printer = new Printer();
        School school = new School("广州软件学院",25,"以Java技术为核心的IT职业教育");
        Teacher zhang = new Teacher("张飞","Java逻辑");
        Teacher li = new Teacher("李明","面向对象编程");
        Student stu1 = new Student("王红梅",2022,"广州一马科技有限公司",8000);
        Student stu2 = new Student("马冬梅",2023,"广州地铁",10000);
        Student stu3 = new Student("赵红雷",2023,"广州新民集团",13000);
        System.out.println("***1万份简单资料***");
        printer.print(new BlackInk(),new A4Paper(),new Content[]{school,zhang,stu3,stu2});
        System.out.println("***1千份基础资料***");
        printer.print(new BlackInk(),new ArtPaper(),new Content[]{school,zhang,li,stu3,stu2});
        System.out.println("***1百份豪华资料***");
        printer.print(new ColorsInk(),new ArtPaper(),new Content[]{school,zhang,li,stu3,stu2,stu1});
    }
}
